package org.jeecg.modules.product.job.ticket.entity;

import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableLogic;
import io.swagger.v3.oas.annotations.media.Schema;
import org.jeecg.common.aspect.annotation.Dict;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import java.util.Date;

import java.io.UnsupportedEncodingException;

/**
 * @Description: 电子作业票问题
 * @Author: jeecg-boot
 * @Date:   2024-08-02
 * @Version: V1.0
 */
@Data
@TableName("tb_job_ticket_problem_record")
@Schema( description="电子作业票问题")
public class TbJobTicketProblemRecord implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @Schema(description = "主键")
    private String id;
	/**创建人*/
    @Schema(description = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @Schema(description = "创建日期")
    private Date createTime;
	/**更新人*/
    @Schema(description = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @Schema(description = "更新日期")
    private Date updateTime;
	/**所属部门*/
    @Schema(description = "所属部门")
    private String sysOrgCode;
	/**问题描述*/
	@Excel(name = "问题描述", width = 15)
    @Schema(description = "问题描述")
    private String descripion;
	/**所在单位*/
	@Excel(name = "所在单位", width = 15)
    @Schema(description = "所在单位")
    private String owningCompan;
	/**所属承包商*/
	@Excel(name = "所属承包商", width = 15)
    @Dict(dicCode = "id",dicText = "name",dictTable = "tb_contractor")
    @Schema(description = "所属承包商")
    private String contractor;
	/**问题状态*/
	@Excel(name = "问题状态", width = 15)
    @Dict(dicCode = "dangerState")
    @Schema(description = "问题状态")
    private String problemStatus;
	/**附件*/
	@Excel(name = "附件", width = 15)
    @Schema(description = "附件")
    private String imf;
	/**状态*/
	@Excel(name = "状态", width = 15)
    @Dict(dicCode = "normalOrStop")
    @Schema(description = "状态")
    private String deleted;
	/**租户id*/
	@Excel(name = "租户id", width = 15)
    @Schema(description = "租户id")
    private String tenantId;
	/**作业票id*/
    @Schema(description = "作业票id")
    private String jobTicketId;
}
